<!DOCTYPE html>
<html>
<head>
  <title>Ajax File Upload</title>
</head>
<body>
  <input type="file" name="file" id="file" />
  <button id="upload">上传</button>
  <span id="progress">0</span>
  <img id="image" src="" width="200" />
  <script type="text/javascript" src="./index.js"></script>
</body>
</html>
